home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 523;
- while(true)
- {
- if(eval("\x01") == 523)
- {
- set("\x01",eval("\x01") - 25);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 975)
- {
- set("\x01",eval("\x01") - 656);
- break;
- }
- if(eval("\x01") != 498)
- {
- if(eval("\x01") == 319)
- {
- set("\x01",eval("\x01") + 518);
- if(!_global.clickx)
- {
- _global.clickx = new Object();
- }
- §§pop();
- if(!_global.clickx.Application)
- {
- clickx.Application extends MovieClip;
- var _loc2_ = clickx.Application = function()
- {
- super();
- }.prototype;
- _loc2_.fillGroupList = function()
- {
- this.groups_mc.renderList(clickx.data.DataProvider.getInstance().getGroups());
- };
- _loc2_.startApplication = function()
- {
- this.gotoAndPlay(11);
- };
- _loc2_.showStartMessage = function()
- {
- this.introMessage_mc.text_txt.htmlText = clickx.data.DataProvider.getInstance().getIntroMessage();
- };
- _loc2_.shutDown = function()
- {
- this.shutDown_mc._visible = false;
- this.gotoAndPlay(68);
- };
- _loc2_.backToHome = function()
- {
- this.banner_mc.stopSlideShow();
- this.gotoAndStop(30);
- this.renderIntroText();
- this.shutDown_mc.onPress = mx.utils.Delegate.create(this,this.goToEndScreen1);
- };
- _loc2_.openAdvertisingLink = function()
- {
- clickx.shell.Shell.getInstance().launchURL(clickx.data.DataProvider.getInstance().getAdvertisingLink());
- };
- _loc2_.loadAdvertising = function()
- {
- this.advertising_mc.imageHolder_mc.createEmptyMovieClip("container_mc",1);
- if(clickx.util.PlatformUtil.getPlatform() != "mac")
- {
- this.advertising_mc.imageHolder_mc.container_mc.loadMovie(clickx.Application.getAppPath() + clickx.data.DataProvider.getInstance().getAdvertising());
- }
- else
- {
- this.advertising_mc.imageHolder_mc.container_mc.loadMovie(clickx.data.DataProvider.getInstance().getAdvertising());
- }
- if(clickx.data.DataProvider.getInstance().advertisingIsLink())
- {
- this.advertising_mc.imageHolder_mc.onPress = mx.utils.Delegate.create(this,this.openAdvertisingLink);
- }
- };
- _loc2_.goToEndScreen2 = function()
- {
- this.gotoAndPlay(106);
- };
- _loc2_.killApplication = function()
- {
- clickx.shell.Shell.getInstance().shutDown();
- this.gotoAndStop(121);
- };
- _loc2_.goToEndScreen1 = function()
- {
- this.shutDown_mc._visible = false;
- this.gotoAndPlay(104);
- };
- _loc2_.renderSlogan = function()
- {
- this.slogan_mc.slogan_txt.text = clickx.data.DataProvider.getInstance().getSlogan();
- };
- clickx.Application = function()
- {
- super();
- }.getAppPath = function(realPath)
- {
- var _loc1_ = _level0.mdm.Application.path;
- if(clickx.util.PlatformUtil.getPlatform() == "mac")
- {
- if(!realPath)
- {
- _loc1_ = _loc1_.split(":").join("/");
- }
- }
- if(_loc1_ == undefined)
- {
- _loc1_ = "";
- }
- return _loc1_;
- };
- _loc2_.initIntroButtons = function()
- {
- this.shutDown_mc.onPress = mx.utils.Delegate.create(this,this.goToEndScreen1);
- clickx.util.ButtonUtil.makeFrame_R_O_Effect(this.shutDown_mc,5);
- this.start_mc.onPress = mx.utils.Delegate.create(this,this.goContentScreen);
- clickx.util.ButtonUtil.makeFrame_R_O_Effect(this.start_mc,5);
- };
- _loc2_.goContentScreen = function()
- {
- this.introScreen_mc.mask_mc.onEnterFrame = function()
- {
- this._alpha += 20;
- if(this._alpha >= 100)
- {
- delete this.onEnterFrame;
- }
- };
- this.gotoAndPlay(31);
- };
- _loc2_.loadData = function()
- {
- if(clickx.util.PlatformUtil.getPlatform() == "pc")
- {
- clickx.data.DataProvider.getInstance().loadData(clickx.Application.getAppPath() + clickx.Application.DATA_PC_LOC);
- }
- else
- {
- clickx.data.DataProvider.getInstance().loadData(clickx.Application.DATA_MAC_LOC);
- }
- };
- _loc2_.selectGroup = function(val)
- {
- this.currentGroup = val;
- this.softwareList_mc.loadGroup(val);
- };
- _loc2_.selectSoftwareTitle = function(val)
- {
- this.softwareDetail_mc.loadSoftwareInfo(this.currentGroup,val);
- };
- _loc2_.hideFirstPanelContent = function()
- {
- this.groups_mc.hideContent();
- };
- _loc2_.renderIntroText = function()
- {
- this.cdTitle_big_mc.title_txt.text = clickx.data.DataProvider.getInstance().getCDTitle();
- this.cdTitle_small_mc.title_txt.text = clickx.data.DataProvider.getInstance().getCDTitle();
- this.introScreen_mc.introTitle_txt.text = clickx.data.DataProvider.getInstance().getIntroTitle();
- this.introScreen_mc.introText_txt.htmlText = clickx.data.DataProvider.getInstance().getIntroText();
- this.introScreen_mc.mask_mc.onEnterFrame = function()
- {
- this._alpha -= 20;
- if(this._alpha <= 0)
- {
- delete this.onEnterFrame;
- }
- };
- };
- _loc2_.startBannerRotation = function()
- {
- this.banner_mc.setImages(clickx.data.DataProvider.getInstance().getBanners());
- this.banner_mc.startSlideShow();
- };
- _loc2_.activateBackToHomeButton = function()
- {
- clickx.util.ButtonUtil.makeFrame_R_O_Effect(this.backToHome_mc,5);
- this.backToHome_mc.onPress = mx.utils.Delegate.create(this,this.backToHome);
- };
- _loc2_.initEndScreen1 = function()
- {
- clickx.util.ButtonUtil.makeFrame_R_O_Effect(this.nextButton_mc,5);
- this.nextButton_mc.onPress = mx.utils.Delegate.create(this,this.goToEndScreen2);
- };
- _loc2_.initEndScreen2 = function()
- {
- clickx.util.ButtonUtil.makeFrame_R_O_Effect(this.nextButton_mc,5);
- this.nextButton_mc.onPress = mx.utils.Delegate.create(this,this.killApplication);
- };
- _loc2_.shutDownWithAnimation = function()
- {
- this.shutDown_mc.onPress = mx.utils.Delegate.create(this,this.shutDown);
- };
- _loc2_.onLoad = function()
- {
- if(clickx.data.DataProvider.getInstance().isReady())
- {
- this.startApplication();
- }
- else
- {
- clickx.data.DataProvider.getInstance().addEventListener("onDataProviderReady",this);
- }
- this.border_mc._visible = false;
- };
- _loc2_.onDataProviderReady = function(eventObject)
- {
- this.startApplication();
- };
- clickx.Application = function()
- {
- super();
- }.END_SCREEN2_DELAY = 7;
- clickx.Application = function()
- {
- super();
- }.DATA_PC_LOC = "assets/xml/pc.xml";
- clickx.Application = function()
- {
- super();
- }.DATA_MAC_LOC = "assets/xml/mac.xml";
- _loc2_.currentGroup = "";
- §§push(ASSetPropFlags(clickx.Application.prototype,null,1));
- }
- §§pop();
- }
- break;
- }
- set("\x01",eval("\x01") + 477);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 656);
- }
- }
- }
-